package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 主播所属运营业务对象
 *
 * @author ruoyi
 * @date 2024-06-20
 */

@Data
public class DyAnchorRelEditBo implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 运营id
     */
    @NotNull(message = "运营id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long relId;

    /**
     * 分成点
     */
    @NotNull(message = "分成点不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long relPoint;

}
